package dlwntk6545.swing;

import java.awt.BorderLayout;

import javax.swing.JDialog;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

public class SwingAboutDialog extends JDialog{
	
	
	
	public SwingAboutDialog(JFrame parent){
		setModal(true);
		JPanel contentPane = new JPanel(new BorderLayout());
		contentPane.setBorder(new EmptyBorder(5,5,5,5));	//여백
		setContentPane(contentPane);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setSize(800, 600);
		setLocationRelativeTo(null);
		setVisible(true);
		setTitle("ㅎㅇ");	
		
	}
	
}
